/* $Id: UserReqDomainObjectManager.java 
 * Copyright (C) 2011, TRAKHEES
 *  
 * Revision History
 *
 * Date  			Author 		    	Remarks
 * ---------------------------------------------------------------------------------
 *
 */
package ae.pcfc.etks.online.common.domain.manager;

import ae.pcfc.etks.online.common.domain.UserReq;
import ae.pcfc.etks.online.common.exception.LookupException;

public interface UserReqDomainObjectManager extends BaseDomainObjectManager {
	
	/**
	 * findByApplicationId
	 * Method to find user request by application id
	 * @param applicationId
	 * @return
	 * @throws LookupException
	 * UserReq
	 */
	public UserReq findByApplicationId(String applicationId) throws LookupException;
	
	/**
	 * findByUserName
	 * Method to find user request by user name
	 * @param userName
	 * @return
	 * @throws LookupException
	 * UserReq
	 */
	public UserReq findByUserName(String userName) throws LookupException;
	
	/**
	 * findByEmail
	 * Method to find user request by email address
	 * @param email
	 * @return
	 * @throws LookupException
	 * UserReq
	 */
	public UserReq findByEmail(String email) throws LookupException;

	/**
	 * validateByPropertyName
	 * Method to validate the user request by property
	 * @param strPropertyName
	 * @param strPropertyValue
	 * @return
	 * boolean
	 */
	public boolean validateByPropertyName(String strPropertyName, String strPropertyValue);

}	
